﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Agile.Engine.Plus
{
    public class ReportUtils
    {
        public decimal YF(int code)
        {
            return decimal.Parse(code.ToString());
        }

        public decimal IIF(bool express, decimal truevalue, decimal falsevalue)
        {
            return (express) ? truevalue : falsevalue;
        }

    }
}
